<template>
  <div>
    <el-select v-bind="$attrs">
      <el-option
        v-for="item in options"
        :key="item.productId"
        :label="item.productName"
        :value="item.productId"
      />
    </el-select>
  </div>
</template>
<script setup>
import { getProductType } from "@/api/operate/alarm-management/alarm-log/index";
const options = ref([]);
getProductType().then(res => {
  options.value = res.result;
});
</script>
<style lang="scss" scoped></style>
